package xyz.ljcc.ccmt.model.base;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * 出院患者信息表
 * @author liucan
 *
 */
@Table(name="HIS_PAT_NO_IN_HOSPITAL")
@Entity
public class PatNoInHospital implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	
	@Column(name="PATIENT_ID")
	private String patientId;  // 患者ID号
	
	@Column(name="INP_NO")
	private String inpNo;  // 患者住院号
	
	@Column(name="VISIT_ID")
	private String visitId;  // 住院次数
	
	@Column(name="DEPT_CODE")
	private String deptCode;  // 科室号
	
	@Column(name="DEPT_NAME")
	private String deptName;  // 科室名称
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="ADMISSION_TIME")
	private Date admissionTime; // 入院时间
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="ADM_DEPT_TIME")
	private Date admdeptTime;  // 入科时间
	
	@Column(name="BED_NO")
	private Integer bedNo;  // 床号
	
	@Column(name="BED_LABEL")  // 床标号
	private String bedLabel;
	
	@Column(name="NURSE_CLASS")
	private String nurseClass; // 护理等级
	
	private String status;  // 病情情况
	
	@Column(name="NURSE_ID")
	private String nurseId; // 责任护士ID
	
	@Column(name="NURSE_NAME")
	private String nurseName;  // 责任护士姓名
	
	@Column(name="DOCTOR_ID")
	private String doctorId; // 主治医师ID
	
	@Column(name="DOCTOR_NAME")
	private String doctorName;  // 主治医师姓名
	
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="LEVEL_TIME")
	private Date levelTime;  // 出院时间
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}

	public String getInpNo() {
		return inpNo;
	}

	public void setInpNo(String inpNo) {
		this.inpNo = inpNo;
	}

	public String getVisitId() {
		return visitId;
	}

	public void setVisitId(String visitId) {
		this.visitId = visitId;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Date getAdmissionTime() {
		return admissionTime;
	}

	public void setAdmissionTime(Date admissionTime) {
		this.admissionTime = admissionTime;
	}

	public Date getAdmdeptTime() {
		return admdeptTime;
	}

	public void setAdmdeptTime(Date admdeptTime) {
		this.admdeptTime = admdeptTime;
	}

	public Integer getBedNo() {
		return bedNo;
	}

	public void setBedNo(Integer bedNo) {
		this.bedNo = bedNo;
	}

	public String getBedLabel() {
		return bedLabel;
	}

	public void setBedLabel(String bedLabel) {
		this.bedLabel = bedLabel;
	}

	public String getNurseClass() {
		return nurseClass;
	}

	public void setNurseClass(String nurseClass) {
		this.nurseClass = nurseClass;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getNurseId() {
		return nurseId;
	}

	public void setNurseId(String nurseId) {
		this.nurseId = nurseId;
	}

	public String getNurseName() {
		return nurseName;
	}

	public void setNurseName(String nurseName) {
		this.nurseName = nurseName;
	}

	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public Date getLevelTime() {
		return levelTime;
	}

	public void setLevelTime(Date levelTime) {
		this.levelTime = levelTime;
	}

}
